package cn.zzp.org.mapper;

import cn.zzp.basic.mapper.BaseMapper;
import cn.zzp.org.domain.Employee;
import cn.zzp.system.domain.Menu;

import java.util.List;

/**
 * @ClassName EmployeeMapper
 * @Description
 * @Author 祝志鹏
 * @Date 2022/7/14 13:19
 */
public interface EmployeeMapper extends BaseMapper<Employee> {



    void delByShopId(Long id);

    void addEmployeeRole(Employee employee);

    void deleteEmployeeRoleByRoleId(Long id);

    List<String> queryPermissionSnByLoginInfoId(Long id);

    List<Menu> queryMenusByLoginInfoId(Long id);

    Employee queryByLoginInfoId(Long id);

    List<Employee> list(Long shopId);
}
